package hot100;

import java.util.*;
import java.math.*;

public class Didi1 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        while (in.hasNext()) { // 注意 while 处理多个 case
            BigDecimal temp = new BigDecimal(in.next());
            int b = in.nextInt();
            BigDecimal res = BigDecimal.ONE;
            for(int i = 1; i <= b;i++) {
                res = res.multiply(temp);
            }
            BigDecimal formatted = res.stripTrailingZeros();
            System.out.print(formatted.toPlainString() + " ");
        }
    }
}
